Book 
EntityType  Independent 
Logical Entity Name  Book 
Default Table Name  BsItem 
Logical Only  NO 
Definition 
 
Note 
 

Book Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
Code    CHAR(20)  NO 
 
Name    VARCHAR(75)  NO 
 
Publisher    VARCHAR(75)  NO 
 
YearPublished    CHAR(4)  NO 
 
Author    VARCHAR(40)  NO 
 
ISBN    VARCHAR(20)  NO 
 
BookVendorId    INTEGER  NO 
 
Cost    MONEY(19, 4)  NO 
 
Price    MONEY(19, 4)  NO 
 
PriceUsed    MONEY(19, 4)  NO 
 
OnHand    INTEGER  NO 
 
OnOrder    INTEGER  NO 
 
IsActive    BIT  NO 
 
ModFlag    CHAR(1)  NO 
 
LastModifiedUserId    INTEGER  NO 
 
CreatedDateTime    DATETIME  NO 
 
LastModifiedDateTime    DATETIME  NO 
 
RowVersion    TIMESTAMP/DATE  NO 
 
BookId(PK)    INTEGER  NO 
 
Edition    VARCHAR(50)  YES 
 
Note    VARCHAR(75)  YES 
 
IsCommentsVisible    BIT  NO 
 

Book Keys 
Key Name  Key Type  Keys 
BsItem_Code_U_N_IDX  Unique Constraint  Code 
BsItem_BsItemID_U_C_IDX  PrimaryKey  BookId 

Book Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 
CourseBook  Non-Identifying  One To Zero or More          NO 
ClassSectionBook  Non-Identifying  One To Zero or More          NO 

Book Check Constraints 
Check Constraint Name  CheckConstraint